package cn.edu.tsinghua.training.cms.demo.test;

public class J_Add<T> {

	public String sum(T a1, T a2, T a3) {
		return a1.toString()+a2.toString()+a3.toString();
	}
	
	public static void main(String[] args) {
//		J_Add<Integer> b = new J_Add<Integer>();
//		System.out.println(b.sum(1, 2, 3));
		J_Add<String> add = new J_Add<String>();
		System.out.println(add.sum("a1", "a2", "a3"));
	}
	
}
